package com.moteur.analysersite.util;

public class TimeOut {
	private int timeout;
	private static volatile TimeOut instance;

	private TimeOut() {
		super();
		this.timeout = 30;
	}
	
	public int getTimeout() {
		return timeout;
	}

	public void setTimeout(int timeout) {
		this.timeout = timeout;
	}

	public static TimeOut getInstance(){
		if(instance == null){
			synchronized(TimeOut.class){
				if (TimeOut.instance == null) {
					TimeOut.instance = new TimeOut();
				}
			}
		}
		return instance;
	}
}
